export default class MyPlane{
	constructor(){
		this.width = 0;
		this.height = 0;
	}
	exe(){
		this.init();	
	}
	init(){
		let _self = this;
	 	let query = wx.createSelectorQuery();
	 	query.select('#my-plane').boundingClientRect();
	 	query.exec(res=>{
		   _self.width = res[0].width;
		   _self.height = res[0].height; 
	 	})
	}

	
}